use "$path\datasets\minutes_samplecharacteristics.dta", clear

preserve
bysort gkz jahr: keep if _n==1
gen temp=1
bysort jahr: egen sum_munis=sum(temp)
graph bar sum_munis, over(jahr) ytitle(Number of municipalities)  blabel(total, size(medsmall)) ylabel(,  angle(horizontal))
graph export FigureA10/figureA10a.pdf, replace 
restore


preserve
bysort gkz jahr: keep if _n==1
bysort jahr: egen sum_vars=sum(vars)
graph bar sum_vars, over(jahr) ytitle(Number of council meetings)  blabel(total, size(medsmall)) ylabel(,  angle(horizontal))
graph export FigureA10/figureA10b.pdf, replace 
restore


